﻿/*
=============================================================================
Author:魏宝辉通过CodeSmithe生成
CreatedTime:2012-10-16
Description:iptable三层结构业务逻辑层
=============================================================================
*/
using System;
using System.Collections.Generic;
using System.Text;
using FTchina.DAL;
using FTchina.Models;
namespace FTchina.BLL
{
	public static partial class IptableManager
	{
		public static int AddIptable(Iptable iptable)
		{
			return IptableService.AddIptable(iptable);
		}
		public static int DeleteIptableByid(int id)
		{
			return IptableService.DeleteIptableById(id);
		}
		
		public static int ModifyIptableByid(Iptable iptable)
		{
			return IptableService.ModifyIptableByid(iptable);
		}
		
		
		public static IList<Iptable> GetAllIptables()
		{
			return IptableService.GetAllIptables();
		}
		public static Iptable GetIptableByid(int id)
		{
			return IptableService.GetIptableByid(id);
		}
		//分页查询 curragePage当前页NUMCount每页条数
		public static IList<Iptable> ShowiptableForPage(int curragePage,int NUMCount)
		{
			return 	IptableService.ShowiptableForPage(curragePage,NUMCount);
		}
	}
}
